package com.oig.base.api.fallback;

import com.oig.base.api.HsGoodsTariffService;
import com.oig.sys.base.dto.HsGoodsTariffDto;
import com.oig.sys.base.vo.HsGoodsTariffVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Slf4j
public class HsGoodsTariffServiceFallBackImpl implements HsGoodsTariffService {

    @Setter
    private Throwable cause;

    @Override
    public HsGoodsTariffVo getTariff(String countryCode, String hsCode) {
        log.error("get hsGoods tariff error ", cause);
        return null;
    }

    @Override
    public List<HsGoodsTariffVo> getTariffByHSCodeAndCountryCodeList(List<HsGoodsTariffDto> req) {
        log.error("find hsGoods tariff error ", cause);
        return null;
    }
}
